package top.superflow.flow.validate

import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component
import top.superflow.flow.load.GlobalFlowConfiguration

@Component
class ValidateManager {

  @Autowired
  var configValidateManger : ConfigurationValidationManager = _
  
  
  
  def isValid(flowConfiguration : GlobalFlowConfiguration) : Boolean = {
    configValidateManger.isValid(flowConfiguration)
  }
  
}